//
//  QNBlank.h
//  QNReuseTool
//
//  Created by rsh on 2019/10/15.
//  Copyright © 2019年 rsh. All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 *空白页显示
 *用法:
 
 if (tags.count == 0) {
 
 [self.pagingView setNeedsLayout];
 [self.pagingView layoutIfNeeded];
 
 UIImage *img = [UIImage imageNamed:@"blank_search"];
 [QNBlank blankInView:self.pagingView.listContainerView withImage:img title:@"敬请期待" message:@"更多拼团商品正在路上" touchCallBack:nil];
 }
    else{
 
    [QNBlank blankDismissFromView:self.pagingView];
 
 }
 
 *
 **/
@interface QNBlank : UIView

/// 空白页显示
+ (instancetype)blankInView:(UIView *)view withImage:(UIImage *)img title:(NSString *)title message:(NSString *)message touchCallBack:(void (^)(void))callBack;

+ (void)blankDismissFromView:(UIView *)view;

- (void)dismiss;

@end
